|
PHY SET SKIN WIDTH
Control the level of inter penetration for the simulation.
PHY SET SKIN WIDTH value#
value#
Float
specifies how much objects can inter penetrate, as opposed to how much they are separated
The simulation deals with inaccuracy when stacking objects by letting them slightly inter penetrate each other. The amount of permitted inter penetration can be regulated at a scene level using this command. Clearly, a lot of inter penetration is visually undesirable. On the other hand, forbidding inter penetration is even worse, because objects may repel each other to the point where they separate, and then fall back down on each other in a subsequent time frame. This leads to visible jittering.
The amount of inter penetration that is best permitted depends on many things such as the size of the objects involved ( so that the inter penetrating region is visually negligible ) but also on the stability of the simulation, which is usually governed by the gravity setting as well as the time step size. Lower gravity and smaller time steps typically result in more stable simulations.
By default Dark Physics sets this property to a value of 0.005. The permittable range is from 0 to infinity.
No example code is provided for this command
|